package com.kaishengit.service;

import java.util.List;

import com.kaishengit.dao.DocumentCommentDao;
import com.kaishengit.entity.DocumentComment;

public class DocumentCommentService {
	
	private DocumentCommentDao dao = new DocumentCommentDao();

	public void save(DocumentComment documentComment) {
		dao.save(documentComment);
	}

	public List<DocumentComment> findByDocumentId(int did) {
		return dao.findByDocumentId(did);
	}

	public void removeByDocumentId(int documentId) {
		dao.removeByDocumentId(documentId);
	}

}
